package com.example.studentstatusmanagement.mapper;

import com.example.studentstatusmanagement.pojo.Hygiene;
import com.example.studentstatusmanagement.pojo.HygieneExample;
import java.util.List;

import com.example.studentstatusmanagement.pojo.doo.ReqHygiene;
import com.example.studentstatusmanagement.pojo.dto.SHygiene;
import org.apache.ibatis.annotations.Param;

public interface HygieneMapper {
    int countByExample(HygieneExample example);

    int deleteByExample(HygieneExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(Hygiene record);

    int insertSelective(Hygiene record);

    List<Hygiene> selectByExample(HygieneExample example);

    Hygiene selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") Hygiene record, @Param("example") HygieneExample example);

    int updateByExample(@Param("record") Hygiene record, @Param("example") HygieneExample example);

    int updateByPrimaryKeySelective(Hygiene record);

    int updateByPrimaryKey(Hygiene record);

    List<SHygiene> selectStudentHygienes(ReqHygiene reqHygiene);
}